set(PLUGIN "tray")

set(HEADERS
  razortray.h
  trayicon.h
)

set(SOURCES
  razortray.cpp
  trayicon.cpp
)

set(MOCS
  razortray.h
  trayicon.h
)

include( FindPkgConfig )
include( CheckLibraryExists )

#pkg_check_modules( X11 REQUIRED x11 )
#pkg_check_modules( XCOMPOSITE REQUIRED xcomposite)
#pkg_check_modules( XDAMAGE REQUIRED xdamage )
#pkg_check_modules( XRENDER REQUIRED xrender )
#set (X11_LIBRARIES "-L/opt/gi/lib -lgi")

set(LIBRARIES
    ${X11_LIBRARIES}
    ${XCOMPOSITE_LIBRARIES}
    ${XDAMAGE_LIBRARIES}
    ${XRENDER_LIBRARIES}
)

#*******************************************
include ("../BuildPlugin.cmake")



BUILD_RAZOR_PLUGIN(${PLUGIN})
#target_link_libraries( tint2)
